import service from '@/utils/crmRequest'

export default () => ({

  // 营销明细---列表
  TSELLDETAIL_LIST: (data) => {
    return service({
      url: '/api/saleDetail/list',
      method: 'post',
      data
    })
  },

  // 营销明细---详情
  TSELLDETAIL_DETAILS: (id) => {
    return service({
      url: `/api/saleDetail/detail?id=${id}`,
      method: 'get',
    })
  },
})
